Part Number Hot Search : 
31112 K4H51083 SR2050CT 4LVC2G 0E686 1N5520UR R1620CT TC74A
Product Description
Full Text Search
 

To Download MSM82C37B-5GS Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  1/33 ? semiconductor msm82c37b-5rs/gs/vjs general description the msm82c37b-5rs/gs/vjs, dma (direct memory access) controller is capable of high- speed data transfer without cpu intervention and is used as a peripheral device in microcomputer systems. the device features four independent programmable dma channels. due to the use of silicon gate cmos technology, standby current is 10 m a (max.), and power consumption is as low as 10 ma (max.) when a 5 mhz clock is generated. all items of ac characteristics are compatible with intel 8237a-5. features ? maximum operating frequency of 5 mhz (vcc = 5 v 10%) ? high-speed operation at very low power consumption due to silicon gate cmos technology ? wide operating temperature range from C40 c to +85 c ? 4-channels independent dma control ? dma request masking and programming ? dma request priority function ? dreq and dack input/output logic inversion ? dma address increment/decrement selection ? memory-to-memory transfers ? channel extension by cascade connection ? dma transfer termination by eop input ? intel 8237a-5 compatibility ? ttl compatible ? 40-pin plastic dip (dip40-p-600-2.54): (product name: msm82c37b-5rs) ? 44-pin plastic qfj (qfj44-p-s650-1.27): (product name: msm82c37b-5vjs) ? 44-pin plastic qfp (qfp44-p-910-0.80-2k): (product name: MSM82C37B-5GS-2k) ? semiconductor msm82c37b-5rs/gs/vjs programmable dma controller e2o0016-39-81 this version: aug. 1999 previous version: jan. 1998
2/33 ? semiconductor msm82c37b-5rs/gs/vjs pin configuration (top view) 40 pin plastic dip 16 15 14 13 ior memr memw ready hlda adstb aen hrq cs 20 19 18 17 gnd a 7 a 6 a 5 a 4 a 3 eop a 2 a 1 a 0 db 0 db 1 db 2 db 3 db 4 dack 0 1 2 3 4 5 6 7 8 9 10 11 12 32 31 30 29 28 27 26 37 38 39 40 36 35 34 33 25 dack 1 db 5 db 6 db 7 24 23 22 21 v cc (+5 v) dreq 0 dreq 1 dreq 2 iow nc dreq 3 dack 3 dack 2 reset clk 44 pin plastic qfp v cc 33 32 31 30 29 28 27 a 3 a 2 a 1 a 0 nc db 0 ready hlda adstb aen hrq nc cs 12 13 14 15 16 17 18 dreq 3 dreq 2 dreq 1 dreq 0 gnd nc db 7 44 43 42 41 40 39 38 nc memw memr iow ior nc 1 2 3 4 5 6 7 26 25 24 23 db 1 db 2 db 3 clk reset dack 2 dack 3 8 9 10 11 db 4 19 20 21 22 db 6 db 5 dack 1 dack 0 37 36 35 34 a 6 a 7 a 5 a 4 eop 39 38 37 36 35 34 33 nc a 3 a 2 a 1 a 0 db 4 db 0 nc ready hlda adstb aen hrq cs 18 19 20 21 22 23 24 dack 3 dreq 3 dreq 2 dreq 1 dreq 0 gnd db 7 6 5 4 3 2 1 44 nc memw memr iow ior nc a 7 7 8 9 10 11 12 13 32 31 30 29 db 1 db 2 db 3 clk reset dack2 nc 14 15 16 17 v cc 25 26 27 28 db 6 db 5 dack 1 dack 0 43 42 41 40 a 6 a 5 a 4 eop 44 pin plastic qfj
3/33 ? semiconductor msm82c37b-5rs/gs/vjs block diagram 4 4 8 4 4 2 ior iow memr memw ready adstb aen cs clk reset eop timing control circuit tc (terminal count) decrementer temporary word count register (16) hlda hrq dreq 0 - 3 dack 0 - 3 priority judgment circuit mode register (4 16) command register (8) mark register (4) request register (4) incrementer/decrementer temporary address register (16) 16 bit bus 16 bit bus base word count register (4 16) current word count register (4 16) base address register (4 16) current address register (4 16) internal data bus status register (8) temporary register (8) input/output buffer output buffer input/output buffer command control circuit d 0 - 1 a 4 - a 7 a 0 - a 3 db 0 - db 7 a 8 - a 15
4/33 ? semiconductor msm82c37b-5rs/gs/vjs absolute maximum ratings C55 to +150 msm82c37b-5rs power supply voltage v cc C0.5 to +7 v input voltage v in C0.5 to v cc +0.5 v output voltage v out C0.5 to v cc +0.5 v storage temperature t stg c power dissipation p d w parameter unit symbol with respect to gnd ta = 25c conditions rating 1.0 MSM82C37B-5GS 0.7 msm82c37b-5vjs 1.0 recommended operating conditions dc characteristics "l" output voltage v ol "h" output voltage v oh parameter symbol min. 3.7 C10 i ol = 3.2 ma v cc = 4.5 v to 5.5 v ta = C40c to +85c i oh = C1.0 ma conditions input leak current i li output leak current i lo C10 0v v in v cc 0v v out v cc average power supply current during operations i cc input frequency 5 mhz, when reset v in = 0 v/v cc , c l = 0 pf power supply current in standby mode i ccs hlda = 0 v, v il = 0 v, v ih = v cc typ. max. 0.4 10 10 10 10 unit v v m a m a ma m a min. power supply voltage v cc 4.5 v operating temperature t op C40 c "l" input voltage v il C0.5 v "h" input voltage t ih 2.2 v typ. 5.0 +25 max. 5.5 +85 +0.8 v cc + 0.5 parameter unit symbol
5/33 ? semiconductor msm82c37b-5rs/gs/vjs ac characteristics dma (master) mode item symbol min. max. unit delay time from clk falling edge up to aen leading edge comments t ael (ta = C40 to +85c, v cc = 4.5 to 5.5 v) 200 ns delay time from clk rising edge up to aen trailing edge t aet 130 ns delay time from clk rising edge up to address floating status t afab 90 ns delay time from clk rising edge up to read/write signal floating status t afc 120 ns delay time from clk rising edge up to data bus floating status t afdb 170 ns address valid hold time to read signal trailing edge t ahr t cy C 100 ns data valid hold time to adstb trailing edge t ahs 30 ns address valid hold time to write signal trailing edge t ahw t cy C 50 ns delay time from clk falling edge up to active dack (note 3) 170 ns delay time from clk rising edge up to eop leading edge t ak (note 5) 170 ns delay time from clk rising edge up to eop trailing edge 170 ns time from clk rising edge up to address valid t asm 170 ns data set-up time to adstb trailing edge t ass 100 ns clock high-level time t ch 68 (note 6) ns clock low-level time t cl 68 (note 6) ns clk cycle time t cy 200 ns
6/33 ? semiconductor msm82c37b-5rs/gs/vjs item symbol min. max. unit comments delay time from clk rising edge to read/write signal leading edge t dcl (note 2) 190 ns delay time from clk rising edge to read signal trailing edge t dctr (note 2) 190 ns delay time from clk rising edge to write signal trailing edge t dctw (note 2) 130 ns delay time from clk rising edge to hrq valid t dq 120 ns eop leading edge set-up time to clk falling edge t eps 40 ns eop pulse width t epw 220 ns delay time from clk rising edge to address valid t faab 170 ns time from clk rising edge up to active read/write signal t fac 150 ns delay time from clk rising edge to data valid t fadb 200 ns hlda valid set-up time to clk rising edge t hs 75 ns input data hold time to memr trailing edge t idh 0 ns input data set-up to memr trailing edge t ids 170 ns output data hold time to memw trailing edge t odh t odv 10 ns time from output data valid to memw trailing edge 125 ns dreq set-up time to clk falling edge t qs 0 (note 3) ns ready hold time to clk falling edge t rh 20 ns ready set-up time to clk falling edge t rs 60 ns delay time from clk rising edge to adstb leading edge t stl 130 ns delay time from clk rising edge to adstb trailing edge t stt 90 ns dma (master) mode (continued)
7/33 ? semiconductor msm82c37b-5rs/gs/vjs slave mode item symbol min. max. unit time from address valid or cs leading edge to ior leading edge comments t ar (ta = C40 to +85c, v cc = 4.5 to 5.5 v) 50 ns address valid set-up time to iow trailing edge t aw 130 ns cs leading edge set-up time to iow trailing edge t cw 130 ns data valid set-up time to iow trailing edge t dw 130 ns address or cs hold time to ior trailing edge t ra 0 ns data access time to ior leading edge t rde 140 ns delay time to data floating status from ior trailing edge t rdf 0 70 ns supply power leading edge set-up time to reset trailing edge t rstd 500 ns time to first active ior or iow from reset trailing edge t rsts 2t cy ns reset pulse width t rstw 300 ns ior pulse width t rw 200 ns address hold time to iow trailing edge t wa 20 ns cs trailing edge hold time to iow trailing edge t wc 20 ns data hold time to iow trailing edge t wd 30 ns iow pulse width t wws 160 ns notes: 1. output load capacitance of 150 (pf). 2. iow and memw pulse widths of t cy C 100 (ns) for normal writing, and 2t cy C 100 (ns) for extended writing. ior and memr pulse widths of 2t cy C 50 (ns) for normal timing, and t cy C 50 (ns) for compressed timing. 3. dreq and dack signal active level can be set to either low or high. in the timing chart, the dreq signal has been set to active-high, and the dack signal to active- low. 4. when the cpu executes continuous read or write in programming mode, the interval during which the read or write pulse becomes active must be set to at least 400 ns. 5. eop is an open drain output. the value given is obtained when a 2.2 k w pull-up resistance is connected to v cc . 6. rise time and fall time are less than 10 ns. 7. waveform measurement points for both input and output signals are 2.2 v for high and 0.8 v for low, unless otherwise noted.
8/33 ? semiconductor msm82c37b-5rs/gs/vjs timing chart reset timing slave mode write timing v cc t rstd t rstw reset ior , iow t rsts cs input valid address input valid data t wc t wa t wd iow a 0 - a 3 db 0 - db 7 t cw t wws t aw t dw cs a 0 - a 3 t rw t rde t rdf t ra t ar ior db 0 - db 7 input valid address output valid data slave mode read timing
9/33 ? semiconductor msm82c37b-5rs/gs/vjs dma transfer timing si si s 0 s 0 s 1 s 2 s 3 s 4 s 2 s 3 s 4 si si clk dreq hrq hlda aen adstb db 0 - db 7 a 0 - a 7 dack ior , memr iow , memw internal eop (output) external eop ( in p ut ) t qs t dq t hs t ael t stl t stt t qs t dq t aet t cl t ch t cy t ass t ahs t afdb t faab t ahw t asm t ahr t ak t afab t ak t fac t dcl t dctr t afc t dcl t dctw t ak t ak t eps t epw t fadb (extended write) a 0 - a 7 a 8 - a 15 a 0 - a 7
10/33 ? semiconductor msm82c37b-5rs/gs/vjs memory to memory transfer timing t stl t stt t stl t stt t faab t fadb t fac t fac t eps t epw t epw t eps t dcl t afdb t ahs t ids t dctr t idh t fadb t ak t ak t dcl t dctw t afc t afc t odv t odh t afdb t afab t asm t ahs clk adstb db 0 - db 7 a 0 - a 7 memw memr internal eop (output) external eop ( in p ut ) valid address a 0 - 7 valid address a 0 - 7 data input a 8 - a 15 a 8 - a 15 data output s 0 s 11 s 12 s 13 s 14 s 21 s 22 s 23 s 24 si t dcl t dcl t dcl t dctr t dctw t rh t rh t rs t rs (extended write) clk ior , memr iow , memw ready s 2 s 3 s w s w s 4 ready timing
11/33 ? semiconductor msm82c37b-5rs/gs/vjs compressed transfer timing t asm t asm t dcl t dctr t dcl t dctr t dctw t dcl t dctw t rs t rs t rh t rh t ak t ak t eps t epw valid address s 2 s 4 s 2 s 4 clk a 0 - a 7 ior , memr iow , memw internal eop (output) external eop ( in p ut ) ready
12/33 ? semiconductor msm82c37b-5rs/gs/vjs pin functions power v cc symbol pin name input/output function +5 v power supply ground gnd ground (0 v) connection. clock clk input control of msm82c37b-5 internal operations and data transfer speed. chip select cs input cs is active-low input signal used for the cpu to select the msm82c37b-5 as an i/o device in an idle cycle. hold acknowledge hlda input hlda is active-high input signal used to indicate that system bus control has been released when a hold request is recieved by the cpu. reset reset input reset is active-high asynchrounous input signal used to clear command, status, request, temporary registers, and first/last f/f, and to set mask register. the msm82c37b-5 enters an idle cycle following a reset. ready ready input the read or write pulse width can be extended to accomodate slow access memories and i/o devices when this input is switched to low level. note this input must not change within the prescribed set-up/hold time. i/o read ior input/output ior is active-low bidirectional three-state signal used as an input control signal for cpu reading of msm82c37b-5 internal registers during idle cycles, and as an output control signal for reading i/o device transfer data in writing transfers during active cycles. i/o write iow input/output iow is active-low bidirectional three-state signal used as an input control signal for cpu writing of msm82c37b-5 internal registers during idle cycles, and as an output control signal for writing i/o device transfer data in writing transfers during active cycles. dma request 0 - 3 channels dreq 0 - dreq 3 input dreq is asynchronous dma transfer request input signals. although these pins are switched to active-high by reset, they can be programmed to become active-low. dma requests are received in accordance with a prescribed order of priority. dreq must be held until dack becomes active. data bus 0 - 7 db 0 - db 7 input/output db is bidirectional three-state signals connected to the system data bus, and which is used as an input/output of msm82c37b-5 internal registers during idle cycles, and as an output of the eight higher order bits of transfer addresses during active cycles. also used as input and output of transfer data during memory- memory transfers.
13/33 ? semiconductor msm82c37b-5rs/gs/vjs symbol pin name input/output function end of process eop input/output eop is active-low bidirectional three-state signal. unlike other pins, this pin is an n-channel open drain. during dma operations, a low-level output pulse is obtained from this pin if the channel word count changes from 0000h to ffffh. and dma transfers can be terminated by pulling the eop input to low level. both of these actions are called terminal count (tc). hold request hrq output hrq is active-high signal used as an output of hold request to the cpu for system data bus control purposes. after hrq has become active, at least one clock cycle is required before hlda becomes active. address enable aen output aen is active-high ouput signal used to indicate that output signals sent from the msm82c37b-5 to the system are valid. and in addition to enabling external latch to hold the eight higher order bits of the transfer address, this signal is also used to disable other system bus buffers. dma acknowledge 0 - 3 channels dack 0 - dack 3 output dack is output signals used to indicate that dma transfer to peripheral devices has been permitted. (available in each channel.) although these pins are switched to active-low when reset, they can be programmed to become active-high. address 0 - 3 a 0 - a 3 input/output a 0 - a 3 is bidirectional three-state signals used as input signals for specifying the msm82c37b-5 internal register to be accessed by the cpu during idle cycles, and as an output the four lower order bits of the transfer address during active cycles. address 4 - 7 a 4 - a 7 output a 4 - a 7 is three-state signals used as an output the four higher order bits of the transfer address during active cycles. note that there is no dack output signal during memory-memory transfers. when internal or external eop is generated, the msm82c37b-5 terminates the transfer and resets the dma request. when the eop pin is not used, it is necessary to hold the pin at high level by pull-up resistor to prevent the input of an eop by error. also note that the eop function cannot be satisfied in cascade mode. memory read memr output memr is active-low three-state output signal used as a control signal in reading data from memory during read transfers and memory-memory transfers. memory write memw output memw is active-low three-state output signal used as a control signal in writing data into memory during write transfers and memory-memory transfers. address strobe adstb output adstb is active-high signal used to strobe the eight higher order bits of the transfer address by external latch. pin functions (continued)
14/33 ? semiconductor msm82c37b-5rs/gs/vjs internal/ external dma request reset si s 0 y hlda y memory-memory transfer s 1 s 2 external eop n compressed timing n s 3 verify y ready y s 4 internal/ external eop n single transfer n hlda y demand transfer n carry or borrow y n n y n eop f/f setting n sw n y n external dma request y y y s 11 s 12 external eop n ready eop f/f setting sw n s 13 y s 14 s 21 s 22 external eop n ready eop f/f setting sw n s 23 s 24 y internal/ external eop n hlda y y note: y ? yes (active) n ? no (inactive) y y y y n n n figure 1 dma operation state transition diagram
15/33 ? semiconductor msm82c37b-5rs/gs/vjs outline of functions the msm82c37b-5 consists of five blocks = three logic sections, an internal register section, and a counter section. the logic sections include a timing control block where the internal timing and external control signals are generated, a command control block where each instruction from the cpu is decoded, and a priority decision block where the order of dma channel priority is determined. the purpose of the internal register section is to hold internal states and instructions from the cpu, while the counter section computes addresses and word counts. description of operations the msm82c37b-5 operates in two cycles (called the idle and active cycles) which are divided into independent states. each state is commenced by a clock falling edge and continues for a single clock cycle. the transition from one state to the next in dma operations is outlined in figure 1. idle cycle the idle cycle is entered from the sl state when there is no valid dma request on any msm82c37b-5 channel. during this cycle, dreq and cs inputs are monitored during each cycle. when a valid dma request is then received, an active cycle is commenced. and if the hlda and cs inputs are at low level, a programming state is started with msm82c37b-5 reading or writing executed by ior or iow . programming details are described later. active cycle if a dma request is received in an unmasked channel while the msm82c37b-5 is in idle cycle, or if a software dreq is generated, the hrq is changed to high level to commence an active cycle. the initial state of an active cycle is the s 0 state which is repeated until the hlda input from the cpu is changed to high level. (but because of internal operational reasons, a minimum of one clock cycle is required for the hlda is be changed to high level by the cpu after the hrq has become high level. that is, the s 0 state must be repeated at least twice.) after the hlda has been changed to high level, the s 0 state proceeds to operational states s1 thru s 4 during i/o-memory transfers, or to operational states s 11 thru s 14 and s 21 thru s 24 during memory-memory transfers. if the memory or i/o device cannot be accessed within the normal timing, an sw state (wait state) can be inserted by a ready input to extend the timing.
16/33 ? semiconductor msm82c37b-5rs/gs/vjs description of transfer types msm82c37b-5 transfers between an i/o and memory devices, or transfers between memory devices. the three types of transfers between i/o and memory devices are read, write, and verify. i/o-memory transfers the operational states during an i/o-memory transfer are s 1 , s 2 , s 3 , and s 4 . in the s 1 state, an aen output is changed to high level to indicate that the control signal from the msm82c37b-5 is valid. the eight lower order bits of the transfer address are obtained from a 0 thru a 7 , and the eight higher order bits are obtained from db 0 thru db 7 . the adstb output is changed to high level at this time to set the eight higher order bits in an external address latch, and the dack output is made active for the channel where the dma request is acknowledged. where there is no change in the eight higher bit transfer address during demand and block mode transfers, however, the s 1 state is omitted. in the s 2 state, the ior or memr output is changed to low level. in the s 3 state, iow or memw is changed to low level. where compressed timing is used, however, the s 3 state is omitted. the s 2 and s 3 states are i/o or memory input/output timing control states. in the s 4 state, ior , iow , memr , and memw are changed to high level, and the word count register is decremented by 1 while the address register is incremented (or decremented) by 1. this completes the dma transfer of one word. note that in i/o-memory transfers, data is transferred directly without being taken in by the msm82c37b-5. the differences in the three types of i/o-memory transfers are indicated below. read transfer data is transferd from memory to the i/o device by changing memr and low to low level. memw and ior are kept at high level during this time. write transfer data is transferred from the i/o device to memory by changing memw and ior to low level. memr and iow are kept at high level during this time. note that writing and reading in these write and read transfers are with respect to the memory. verify transfer although verify transfers involve the same operations as write and read transfers (such as transfer address generation and eop input responses),they are in fact pseudo transfers where all i/o and memory reading/writing control signals are kept inactive. ready inputs are disregarded in verify transfers.
17/33 ? semiconductor msm82c37b-5rs/gs/vjs memory-memory transfer memory-memory transfers are used to transfer data blocks from one memory area to another. memory-memory transfers require a total of eight states to complete a single transfer four states (s 11 thru s 14 ) for reading from memory, and four states (s 21 thru s 24 ) for writing into memory. these states are similar to i/o-memory transfer states, and are distinguished by using two-digit numbers. in memory-memory transfers, channel 0 is used for reading data from the source area, and channel 1 is used for writing data into the destination area. during the initial four states, data specified by the channel 0 address is read from the memory when memr is made active, and is taken in the msm82c37b-5 temporary register. then during the latter four states, the data in the temporary register is written in the address specified by channel 1. this completes the transfer of one byte of data. with channel 0 and channel 1 addresses subsequently incremented (or decremented) by 1, and channel 0, 1 word count decremented by 1, this operation is repeated. the transfer is terminated when the word count reaches ffff(h) from 0000(h), or when an eop input is applied from an external source. note that there is no dack output signal during this transfer. the following preparations in programming are requiring to enable memory-memory transfers to be started. command register setting memory-memory transfers are enabled by setting bit 0. channel 0 address can be held for all transfers by setting bit 1. this setting can be used to enable 1-word contents of the source area to be written into the entire destination area. mode register setting the transfer type destination is disregarded in channels 0 and 1. memory-memory transfers are always executed in block transfer mode. request register setting memory-memory transfers are started by setting the channel 0 request bit. mask register setting mask bits for all channels are set to prevent selection of any other channel apart from channel 0. word count register setting the channel 1 word count is validated, while the channel 0 word count is disregarded. in order to autoinitialize both channels, it is necessary to write the same values into both word count registers.
18/33 ? semiconductor msm82c37b-5rs/gs/vjs description of operation modes single transfer mode in single transfer mode, only one word is transferred, and the addresses are incremented (or decremented) by 1 while the word count is decremented by 1. the hrq is then changed to low level to return the bus control to the cpu. if dreq remains active after completion of a transfer, the hrq is changed to low level. after the hlda is changed to low level by the cpu, and then changes the hrq back to high level to commence a fresh dma cycle. for this reason, a machine cycle can be inserted between dma cycles by the cpu. block transfer mode once a dma transfer is started in block mode, the transfer is continued until terminal count (tc) status is reached. if dreq remains active until dack becomes active, the dma transfer is continued even if dreq becomes inactive. demand transfer mode the dma transfer is continued in demand transfer mode until dreq is no longer active, or until tc status is reached. during a dma transfer, intermediate address and word count values are held in the current address and current word count registers. consequently, if the dma transfer is suspended as a result of dreq becoming inactive before tc status is reached, and the dreq for that channel is then made active again, the suspended dma transfer is resumed.
19/33 ? semiconductor msm82c37b-5rs/gs/vjs cascade transfer mode when dma transfers involving more than four channels are required, connecting a multiple number of msm82c37a-5 devices in a cascade connection (see figure 2 ) enables a simple system extension. this mode is set by setting the first stage msm82c37b-5 channel to cascade mode. the dreq and dack lines for the first stage msm82c37b-5 channel set to cascade mode are connected to the hrq and hlda lines of the respective msm82c37b-5 devices in the second stage. the first stage msm82c37b-5 dack signal must be set to active-high, and the dreq signal to active-low. since the first stage msm82c37b-5 is only used functionally in determining the order of priority of each channel when cascade mode is set, only dreq and dack are usedCall other inputs are disregarded. and since the system may be hung up if the dma transfer is activated by software dreq, do not set a software dreq for channels where cascade mode has been set. in addition to the dual stage cascade connection shown in figure 2, triple stage cascade connections are possible with the second stage also set to cascade mode. cpu hrq dreq dack hlda dreq dack hrq hlda dreq 0 - 3 dack 0 - 3 4 4 4 4 i/o i/o hrq hlda dreq 0 - 3 dack 0 - 3 stage 1 msm82c37b-5 stage 2 msm82c37b-5 figure 2 msm82c37b-5 cascade connection system autoinitialize mode setting bit 4 of the mode register enables autoinitialization of that channel. following tc generation, autoinitialize involves writing of the base address and the base word count register values in the respective current address and current word count registers. the same values as in the current registers are written in the base registers by the cpu, and are not changed during dma transfers. when a channel has been set to autoinitialize, that channel may be used in a second transfer without involving the cpu and without the mask bit being reset after the tc generation. priority modes the msm82c37b-5 makes use of two priority decision modes, and acknowledges the dma channel of highest priority among the dma requesting channels.
20/33 ? semiconductor msm82c37b-5rs/gs/vjs fixed priority mode in fixed priority mode, channel 0 has the highest priority, followed by channels 1, 2, and 3 in that order. rotating priority mode in rotating priority mode, the order of priority is changed so that the channel where the current dma transfer has been completed is given lowest priority. this is to prevent any one channel from monopolizing the system. the fixed priority is regained immediately after resetting. service terminated channel ch 0 priority mode fixed ch 1 order of priority for next dma ch 2 ch 3 highest lowest ch 1 ch 2 rotating ch 3 ch 0 ch 1 ch 3 ch 0 ch 1 ch 2 ch 3 ch 2 ch 3 ch 0 ch 1 ch 2 ch 0 ch 1 ch 2 ch 3 ch 0 table 1 msm82c37b-5 priority decision modes compressed timing setting the msm82c37b-5 to compressed timing mode enables the s 3 state used in extension of the read pulse access time to be omitted (if permitted by system structure) for two or three clock cycle dma transfers. if the s 3 state is omitted, the read pulse width becomes the same as the write pulse width with the address updated in s 2 and the read or write operation executed in s 4 . this mode is disregarded if the transfer is a memory-memory transfer, transfer. extended writing when this mode is set, the iow or memw signal which normally appears during the s 3 state is obtained during the s 2 state, thereby extending the write pulse width. the purpose of this extended write pulse is to enable the system to accomodate memories and i/o devices where the access time is slower. although the pulse width can also be extended by using ready, that involves the insertion of a sw state to increase the number of states.
21/33 ? semiconductor msm82c37b-5rs/gs/vjs description of internal registers current address register each channel is equipped with a 16-bit long current address register where the transfer address is held during dma transfers. the register value is incremented (or decremented) in each dma cycle. although this register is 16 bits long, the cpu is accessed by the msm82c37b-5 eight bits at a time, therefore necessitating two successive 8-bit (lower and higher order bits) reading or writing operations using internal first/last flip-flops. when autoinitialize has been set, the register is automatically initialized to the original value after tc. current word count register each channel is also equipped with a 16 bit-long current word count register where the transfer count is held during dma transfers. the register value is decremented in each dma cycle. when the word count value reaches ffff(h) from 0000(h), a tc is generated. therefore, a word count value which is one less than the actual number of transfers must be set. since this register is also 16 bits long, it is accessed by first/last flip-flops control in the same way as the address register. and if autoinitialize has been set, the register is automatically initialized to the original value after tc. base address register and base word count register each channel is equipped with a 16-bit long base address register and base word count register where the initial value of each current register is held. the same values are written in each base register and the current register by the cpu. the contents of the current register can be made ready by the cpu, but the content of the base register cannot be read.
22/33 ? semiconductor msm82c37b-5rs/gs/vjs command register this 8-bit write-only register prescribes dma operations for all msm82c37b-5 channels. an outline of all bits is given in figure 3. when the controller is disabled by setting d b 2 , there is no hrq output even if dma request is active. dreq and dack signals may be active high or active low by setting d b 6 and db 7 . db 7 0: memory-memory transfer disabled 1: memory-memory transfer enabled db 6 db 5 db 4 db 3 db 2 db 1 db 0 0: channel 0 address hold disabled 1: channel 0 address hold enabled 0: controller enabled 1: controller disabled 0: normal timing 1: compressed timing 0: fixed priority 1: rotating priority 0: normal write pulse width 1: extended write pulse width 0: dreq sense active "h" 1: dreq sense active "l" 0: dack sense active "l" 1: dack sense active "h" (invalid when db 0 = "0") (invalid when db 0 = "1") figure 3 command register
23/33 ? semiconductor msm82c37b-5rs/gs/vjs mode register each channel is equipped with a 6-bit write-only mode register, which is decided by setting db 0 , db 1 which channel is to be written when writing from cpu is programming status. the bit description is outlined in figure 4. this register is not cleared by reset or master clear instruction. db 7 00: channel 0 selected 01: channle 1 selected 10: channel 2 selected 11: channle 3 selected db 6 db 5 db 4 db 3 db 2 db 1 db 0 00: verify transfer 01: write transfer 10: read transfer 11: disabled (invalid when db 6 db 7 = "11") 0: auto initialize disabled 1: auto initialize enabled 0: address increment (+1) selected 1: address decrement (C1) selected 00: demand transfer mode selected 01: single transfer mode selected 10: block transfer mode selected 11: cascade mode selected fi g ure 4 mode re g ister request register in addition to using the dreq signal, the msm82c37b-5 can request dma transfers by software means. this involves setting the request bit of request register. each channel has a corresponding request bit in the request register, and the order of priority of these bits is determined by the priority decision circuit irrespective of the mask register. dma transfers are acknowledged in accordance with the decided order of priority. all request bits are reset when the tc is reached, and when the request bit of a certain channel has been received, all other request bits are cleared. when a memory-memory transfer is commenced, the channel 0 request bit is set. the bit description is outlined in figure 5. db 7 00: channel 0 selected 01: channel 1 selected 10: channel 2 selected 11: channel 3 selected db 6 db 5 db 4 db 3 db 2 db 1 db 0 0: request bit cleared 1: request bit set not used fi g ure 5 request re g ister
24/33 ? semiconductor msm82c37b-5rs/gs/vjs mask register this register is used in disabling and enabling of dma transfers in each channel. each channel includes a corresponding mask bit in the mask register, and each bit is set when the tc is reached if not in autoinitialize mode. this mask register can be set in two different ways. the method for setting/resetting the register for each channel is outlined in figure 6(a), while the method for setting/resetting the register for all channels at once is outlined in figure 6(b). db 7 00: channel 0 selected 01: channel 1 selected 10: channel 2 selected 11: channel 3 selected db 6 db 5 db 4 db 3 db 2 db 1 db 0 0: mask bit cleared 1: mask bit set not used (a) single mask register (setting/resetting for each channel) db 7 db 6 db 5 db 4 db 3 db 2 db 1 db 0 not used (b) all mask register (setting/resetting of all channels at once) 0: channel 0 mask bit cleared 1: channel 0 mask bit set 0: channel 1 mask bit cleared 1: channel 1 mask bit set 0: channel 2 mask bit cleared 1: channel 2 mask bit set 0: channel 3 mask bit cleared 1: channel 3 mask bit set figure 6 mask register
25/33 ? semiconductor msm82c37b-5rs/gs/vjs status register this register is a read-only register used in cpu reading of the msm82c37b-5 status. the four higher order bits indicate the dma transfer request status for each channel, 1 being set when the dreq input signal is active. the four lower order bits indicate whether the corresponding channel has reached the tc or not, 1 being set when the tc status is reached. these four lower order bits are reset by status register reading, or reset input and master clearing. a description of each bit is outlined in figure 7 db 7 0: channel 0 has not reached tc 1: channel 0 has reached tc db 6 db 5 db 4 db 3 db 2 db 1 db 0 0: channel 1 has not reached tc 1: channel 1 has reached tc 0: channel 2 has not reached tc 1: channel 2 has reached tc 0: channel 3 has not reached tc 1: channel 3 has reached tc 0: channel 0 is not requesting 1: channel 0 is requesting 0: channel 1 is not requesting 1: channel 1 is requesting 0: channel 2 is not requesting 1: channel 2 is requesting 0: channel 3 is not requesting 1: channel 3 is requesting fi g ure 7 status re g ister temporary register the temporary register is a register where transfer data is held temporarily during memory- memory transfers. since the last item of data to be transferred is held after completion of the transfer, this item can be read by the cpu. software command the msm82c37b-5 is equipped with software commands for executing special operations to ensure proper programming. software command is irrespective of data bus contents.
26/33 ? semiconductor msm82c37b-5rs/gs/vjs clear first/last flip-flop 16-bit address and word count registers are read or written in two consecutive operations involving eight bits each (higher and lower order bits) under data bus port control. the fact that the lower order bits are accessed first by the msm82c37b-5, followed by accessing of the higher order bits, is discerned by the internal first/last flip-flop. this command resets the first/last flip-flop with the eight lower order bits being accessed immediately after execution. master clear the same operation as when the hardware reset input is applied. thus command clears the contents of the command, status (four lower order bits), request, and temporary registers, also clears the first/last flip-flop, and sets the mask register. this command is followed by an idle cycle. clear mask register when this command is executed, the mask bits for all channels are cleared to enable reception of dma transfers.
27/33 ? semiconductor msm82c37b-5rs/gs/vjs programming the msm82c37b-5 is switched to programming status when the hlda input and cs are both at low level. in this state, ior is changed to low level with iow held at high level to enable reading by the cpu, or else iow is changed to low level while ior is held at high level to enable writing by the cpu. a list of command codes for reading from the msm82c37b-5 is given in table 2, and a list of command codes for writing in the msm82c37b-5 is given table 3. note: if a dma transfer request is received from an i/o device during msm82c37b- 5 programming, that dma transfer may be commenced to prevent proper programming. to prevent this interference, the dma channel must be masked, or the controller disabled by the command register, or the system set to as to prevent dreq becoming active during the programming. cs 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ior 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 a 3 read out data 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 other combinations a 2 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 0 1 a 1 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 0 0 a 0 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 1 internal first/last flip/flop 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 channel 0 channel 1 channel 2 channel 3 status register temporary register output data invalid current address register current word count register current address register current word count register current address register current word count register current word count register current address register 8 lower order bits 8 higher order bits 8 lower order bits 8 higher order bits 8 lower order bits 8 higher order bits 8 lower order bits 8 higher order bits 8 lower order bits 8 higher order bits 8 lower order bits 8 higher order bits 8 lower order bits 8 higher order bits 8 lower order bits 8 higher order bits table 2 list of msm82c37b-5 read commands
28/33 ? semiconductor msm82c37b-5rs/gs/vjs cs 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 iow 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 a 3 written data 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 a 2 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 0 0 a 1 0 0 0 0 1 1 1 1 0 0 0 0 1 1 1 1 0 0 a 0 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 1 0 1 internal first/last flip-flop 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 channel 0 channel 1 channel 2 channel 3 command register request register 0 0 0 0 1 1 0 0 1 1 0 1 single mask register mode register 0 0 0 0 1 1 1 1 0 0 0 1 clear first/last flip-flop (software command) master clear (software command) 0 0 0 0 1 1 1 1 1 1 0 1 clear mask register (software command) all mask register current and base address registers current and base word count registers current and base address registers current and base word count registers current and base address registers current and base word count registers current and base word count registers current and base address registers 8 lower order bits 8 higher order bits 8 lower order bits 8 higher order bits 8 lower order bits 8 higher order bits 8 lower order bits 8 higher order bits 8 lower order bits 8 higher order bits 8 lower order bits 8 higher order bits 8 lower order bits 8 higher order bits 8 lower order bits 8 higher order bits table 3 list of msm82c37b-5 write commands
29/33 ? semiconductor msm82c37b-5rs/gs/vjs notice on replacing low-speed devices with high-speed devices the conventional low speed devices are replaced by high-speed devices as shown below. when you want to replace your low speed devices with high-speed devices, read the replacement notice given on the next pages. high-speed device (new) low-speed device (old) remarks m80c85ah m80c85a/m80c85a-2 8-bit mpu m80c86a-10 m80c86a/m80c86a-2 16-bit mpu m80c88a-10 m80c88a/m80c88a-2 8-bit mpu m82c84a-2 m82c84a/m82c84a-5 clock generator m81c55-5 m81c55 ram, i/o, timer m82c37b-5 m82c37a/m82c37a-5 dma controller m82c51a-2 m82c51a usart m82c53-2 m82c53-5 timer m82c55a-2 m82c55a-5 ppi
30/33 ? semiconductor msm82c37b-5rs/gs/vjs differences between msm82c37a-5 and msm82c37b-5 1) manufacturing process these devices use a 3 m si-cmos process technology and have the same chip size. 2) function these devices have the same logics except for changes in ac characteristics listed in (3-2). 3) electrical characteristics 3-1) dc characteristics these devices have the same dc characteristics. 3-2) ac characteristics as shown above, the msm82c37a-5 cannot satisfy the clock low time of 68 ns (at automatic initialization). on the other hand, the msm82c37b-5 can satisfy the clock low time of 68 ns in any operation status. as for the other characteristics, both the msm82c37a-5 and the msm82c37b-5 are identical. 4) package the msm82c37a-5 employed a plcc package having oki's original pin layout, which is not compatible to amd's plcc products which has been commercialized before oki's products. to meet overseas customers needs, oki has developed amd-compatible plcc productsmsm82c37b-vjs. the oki's dip and flat package are identical to those of amd. parameter symbol msm82c37a-5 msm82c37b-5 100 ns minimum 68 ns minimum t cl clock low time (other than the above) t cl 68 ns minimum 68 ns minimum clock low time (at automatic initialization)
31/33 ? semiconductor msm82c37b-5rs/gs/vjs (unit : mm) package dimensions dip40-p-600-2.54 package material lead frame material pin treatment solder plate thickness package weight (g) epoxy resin 42 alloy solder plating 5 m m or more 6.10 typ.
32/33 ? semiconductor msm82c37b-5rs/gs/vjs (unit : mm) notes for mounting the surface mount type package the sop, qfp, tsop, tqfp, lqfp, soj, qfj (plcc), shp, and bga are surface mount type packages, which are very susceptible to heat in reflow mounting and humidity absorbed in storage. therefore, before you perform reflow mounting, contact okis responsible sales person on the product name, package name, pin number, package code and desired mounting conditions (reflow method, temperature and times). qfj44-p-s650-1.27 package material lead frame material pin treatment solder plate thickness package weight (g) epoxy resin cu alloy solder plating 5 m m or more 2.00 typ. mirror finish
33/33 ? semiconductor msm82c37b-5rs/gs/vjs (unit : mm) notes for mounting the surface mount type package the sop, qfp, tsop, tqfp, lqfp, soj, qfj (plcc), shp, and bga are surface mount type packages, which are very susceptible to heat in reflow mounting and humidity absorbed in storage. therefore, before you perform reflow mounting, contact okis responsible sales person on the product name, package name, pin number, package code and desired mounting conditions (reflow method, temperature and times). package material lead frame material pin treatment solder plate thickness package weight (g) epoxy resin 42 alloy solder plating 5 m m or more 0.41 typ. qfp44-p-910-0.80-2k mirror finish
notice 1. the information contained herein can change without notice owing to product and/or technical improvements. before using the product, please make sure that the information being referred to is up-to-date. 2. the outline of action and examples for application circuits described herein have been chosen as an explanation for the standard action and performance of the product. when planning to use the product, please ensure that the external conditions are reflected in the actual circuit, assembly, and program designs. 3. when designing your product, please use our product below the specified maximum ratings and within the specified operating ranges including, but not limited to, operating voltage, power dissipation, and operating temperature. 4. oki assumes no responsibility or liability whatsoever for any failure or unusual or unexpected operation resulting from misuse, neglect, improper installation, repair, alteration or accident, improper handling, or unusual physical or electrical stress including, but not limited to, exposure to parameters beyond the specified maximum ratings or operation outside the specified operating range. 5. neither indemnity against nor license of a third partys industrial and intellectual property right, etc. is granted by us in connection with the use of the product and/or the information and drawings contained herein. no responsibility is assumed by us for any infringement of a third partys right which may result from the use thereof. 6. the products listed in this document are intended for use in general electronics equipment for commercial applications (e.g., office automation, communication equipment, measurement equipment, consumer electronics, etc.). these products are not authorized for use in any system or application that requires special or enhanced quality and reliability characteristics nor in any system or application where the failure of such system or application may result in the loss or damage of property, or death or injury to humans. such applications include, but are not limited to, traffic and automotive equipment, safety devices, aerospace equipment, nuclear power control, medical equipment, and life-support systems. 7. certain products in this document may need government approval before they can be exported to particular countries. the purchaser assumes the responsibility of determining the legality of export of these products and will take appropriate and necessary steps at their own expense for these. 8. no part of the contents contained herein may be reprinted or reproduced without our prior permission. 9. ms-dos is a registered trademark of microsoft corporation. copyright 1999 oki electric industry co., ltd. printed in japan e2y0002-29-62


▲Up To Search▲   

 
Price & Availability of MSM82C37B-5GS

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X